﻿Imports System.ServiceModel
Imports System.ServiceModel.Activation
Imports System.ServiceModel.Web

<AspNetCompatibilityRequirements(RequirementsMode:=AspNetCompatibilityRequirementsMode.Allowed)>
Public Class RestServiceImpl
    Implements IRestServiceImpl
    Public Function JSONData(ByVal id As String) As String Implements IRestServiceImpl.JSONData
        Return "Saludo" + id
    End Function

    Public Function XMLData(ByVal id As String) As String Implements IRestServiceImpl.XMLData
        Return "Saludo" + id
    End Function
End Class
